<!--{include /service/service_head}-->


<!-- End #sidebar -->
	<div id="main-content">
		<!-- Main Content Section with everything -->

		<!-- Page Head -->
		<!-- End .clear -->
		<form action="/service/staffManage.php" id="indexform" method="get">
		<div class="search_box clearfix">
			<label class="clearfix"><span>店舗：</span>
				<select name="shop_id" class="small-input">
					<option value="0">選択してください</option>
					${Utility::Option(Utility::OptionArray($shopList, 'id', 'shop_name'), $defaultShopId)}
				</select>
			</label><br />
		</div>
		</form>
		<div class="content-box">
			<!-- Start Content Box -->
			<div class="content-box-header">
				<h3>スタッフ仕事一覧</h3>
				<ul class="content-box-tabs" style="display:none;">
					<li><a href="#tab1" class="default-tab">详细</a></li>
					<!-- href must be unique and match the id of target div -->
					<li><a href="#tab2">编辑</a></li>
				</ul>
				<div class="clear"></div>
			</div>
			<!-- End .content-box-header -->
			<div class="content-box-content">
				<div class="tab-content default-tab" id="tab1">
					<!-- This is the target div. id must match the href of this div's tab -->
					<div class="table_box">
						<table>
						<thead class="title_head">
							<tr>
								<th class="title">社員番号</th>
								<th class="title">姓</th>
								<th>名</th>
								<th class="title">性別</th>
								<th class="title">電話番号</th>
								<th>通勤先</th>
								<th class="title">スキル</th>
								<th class="title">給料</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
							<!--{loop $staffList $index $one}-->
							<tr>
								<td><a href="/service/staffManageEdit.php?id={$one['id']}">{$one['id']}</a></td>
								<td>{$one['family_name']}</td>
								<td>{$one['personal_name']}</td>
								<td>
								<!--{if $one['sex']==0}-->女性<!--{else}-->男性<!--{/if}-->
								</td>
								<td>{$one['tel_no']}</td>
								<td> <!--{if $one['shop_id']==0}-->所属店舗なし<!--{else}-->{$shopIdList[$one['shop_id']]}<!--{/if}--></td>
								<td><!--{loop $staffSkill[$one['id']] $index1 $one1}-->
									{$serviceIdList[$one1['service_id']]}
									<!--{/loop}-->
								</td>
								<td>
								<!--{if $one['salary_type'] < 1}-->時給： <!--{elseif $one['salary_type'] == 1}-->月給：<!--{/if}--> 
								 ${number_format($one['salary'])}円</td>
								<td><a href="/service/staffManage.php?id={$one['id']}&action=del" onclick="return confirm('本当に削除しますか？')" >削除</a></td>
							</tr>
							<!--{/loop}-->
						</tbody>
					</table>
					</div>
					<p class="bottom_m"><a href="#">印刷する</a></p>
					<div>
					<table>
							<tr>

								<td colspan="7"><div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div>

									<!-- End .pagination -->
									<div class="clear"></div></td>
							</tr>
							</table>
					</div>
				</div>
			</div>
			<!-- End .content-box-content -->
		</div>

		<!-- End .content-box -->
		<!-- End .content-box -->
		<!-- End .content-box -->
		<div class="clear"></div>
		<!-- Start Notifications -->
		<!-- End Notifications -->
		<div id="footer"> <small>
			<!-- Remove this notice or replace it with whatever you want -->

			&#169; Copyright 2011 川崎エステ　エレガントリゾート　すべての女性を美しく幸せに | Powered by <a href="#">ZHONGHUA</a> | <a href="#">Top</a> </small> </div>
		<!-- End #footer -->
	</div>
	<!-- End #main-content -->
</div>

</body>
<!-- Download From www.exet.tk-->
</html>
<script type="text/javascript"> 
	jQuery(function(){
		$("select[name='shop_id']").bind("change", function(){
			
			$("#indexform").submit();
		});
	});
</script>